﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class ThemeInfoConfig : EntityTypeConfiguration<ThemeInfo>
    {
        public ThemeInfoConfig()
        {
            ToTable("Himall_Theme");
            HasKey(x => x.ThemeId);
            Property(item => item.ClassifiedsColor).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.FrameColor).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.MainColor).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.SecondaryColor).HasColumnType("varchar").HasMaxLength(50);
        }
    }
}
